#ifndef ITEM_GENE_H
#define ITEM_GENE_H

#include <string>
#include "Item.h"
#include "Metadata.h"
#include "Parser.h"

class Item_Gene : public Item {
public:
    Item_Gene();
    ~Item_Gene();

    bool operator==(const Metric_Object *other) const;

    void parse(Parser& parser,
               const Metadata& fInfo,
               std::string& name);
    double metric(const Metric_Object *other) const;
    std::ostream& print(std::ostream& os) const;

private:
    char *data;
    int len;
};

std::ostream& operator<<( std::ostream& os,
                          const Item_Gene& g );

#endif
